package com.wuwei.service;


import com.wuwei.pojo.CommonResult;
import com.wuwei.pojo.Payment;
import org.springframework.stereotype.Component;

/**
 * @description: FeignFallBackService <br>
 * @date: 2021/2/22 21:44 <br>
 * @author: wuwei666 <br>
 * @version: 1.0 <br>
 */
public class FeignFallBackService implements FeignService{
    @Override
    public CommonResult<Payment> paymentCommonResult(Long id) {
        return new CommonResult<Payment>(444, "error", new Payment(id ,"error"));
    }
}
